package project.robot.pathplanning;

import project.map.Position;

public class PathSearchNode {

	public Position position;
	public PathSearchNode cameFrom;
	public int operation;

	public PathSearchNode(Position position, PathSearchNode cameFrom, int operation)
	{
		this.position = position;
		this.cameFrom = cameFrom;
		this.operation = operation;
	}
	
	public boolean equals(Object o)
	{
		PathSearchNode node = (PathSearchNode)o;
		return this.position.equals(node.position);
	}
}
